// admin数据库操作

const AdminModel  = require('./model/adminModel')

module.exports.loginDao = async function(loginInfo) {

     const info = await AdminModel.findOne({
        where: {
            loginId:loginInfo.loginId,
            loginPwd:loginInfo.loginPwd
        }
    })
    console.log('info' , info)
    return info
}
